// 封装房源详情页相关接口
import request from '@/utils/request'

// 获取房源详情信息
export const getPropertyDetailService = (id) => {
  return request({
    url: `/property/detail/${id}`,
    method: 'GET'
  })
}

// 提交用户预约看房信息
export const submitOrderService = (data) => {
  return request({
    url: '/order',
    method: 'POST',
    data
  })
}
